<?php
$local='local';
if($local=='local')
{
	
	return array(
		'writedb'=>array('host'=>'ip','dbname'=>'dbname','dbuser'=>'uname','dbpwd'=>'pwd'),
		'readdb'=>array('host'=>'ip','dbname'=>'dbname','dbuser'=>'uname','dbpwd'=>'pwd'),
		'db_other'=>'other.'
	);	 
	 
	
}else{
	return array(
		'writedb'=>array('host'=>'web_ip','dbname'=>'dbname','dbuser'=>'uname','dbpwd'=>'pwd'),
		'readdb'=>array('host'=>'web_ip','dbname'=>'dbname','dbuser'=>'uname','dbpwd'=>'pwd'),
		'db_other'=>'other.'
	);	 
	 

}
?>
